/**
 * 
 */
package edu.tsinghua.mrpvc.device;

/**
 * @author Tangjian Deng & Wei Feng
 *
 */
public interface LightSensor extends BasicDevice {
	public int getLightLevel();
	
	public static final String EVENT_TOPIC_STATE = "863pvc/Device/LightSensor/State";
	public static final String EVENT_TOPIC_ISVALID = "863pvc/Device/LightSensor/Ctrl/IsValid";
	public static final String EVENT_TOPIC_LIGHTLEVEL = "863pvc/Device/LightSensor/Ctrl/CurLightLevel";
	
	public static final String EVENT_PROPER_ID = "ID";
	public static final String EVENT_PROPER_ISVALID = "IsValid";
	public static final String EVENT_PROPER_LIGHT_LEVEL = "LightLevel";
	
	public interface Constants{
		public final static String ISVALID_TRUE = "true";
		public final static String ISVALID_FALSE = "false";		
	};
}
